<?php echo "<a href=" . $this->url(array(
            'controller' => 'projects',
            'action' => 'add'))
            .">".$this->translate('Add project')."</a>"; ?>
<center>
<table border="2">
    <tr>
        <td width="50px">Id</td>
        <td width="100px">name</td>
        <td width="100px">type</td>
        <td width="100px">date</td>
        <td width="100px">client_name</td>
        <td width="100px">url</td>        
        <td width="50px"></td> 
        <td width="50px"></td> 
    </tr>
   <?php foreach ($this->projects as $val) { ?> 
    <tr>
        <td><?php echo $val['id']; ?></td>
        <td><?php echo $val['name']; ?></td>
        <td><?php echo $val['type']; ?></td>
        <td><?php echo $val['date']; ?></td>
        <td><?php echo $val['client_name']; ?></td>
        <td><?php echo $val['url']; ?></td>        
        <td>
          <?php
          //удаление
          echo "<a href=" . $this->url(array(
                                'controller' => 'projects',
                                'action' => 'update',
                                'id' => $val['id'])) . ">".'Update'."</a>";
          ?>           
        </td> 
        <td>
          <?php
          //удаление
          echo "<a href=" . $this->url(array(
                                'controller' => 'projects',
                                'action' => 'delete',
                                'id' => $val['id'])) . ">".'Delete'."</a>";
          ?>           
        </td> 
    </tr>
    <?php } ?>
</table>
</center>